<?php

/**
 *
 * @author Marc André Audet <root@manhim.net>
 * @copyright Copyright(c) 2009-2010 Marc André Audet
 * @license http://www.gnu.org/licenses/gpl.txt The GNU General Public License version 3
 *
 */

?>

<?php

$Uri = $_SERVER['REQUEST_URI'];
$Pos = strpos($Uri, '?');

if ($Pos != false)
{
	$Uri = substr($Uri, 0, $Pos);
}

$Pos = strrpos($Uri, '/');

$Uri = substr($Uri, 0, $Pos + 1);

$FullUrl = $Uri . 'Medias/GStatspp/Default/Install/';

?>

			<div id="Footer">

				<div id="Left">
					<a href="http://code.google.com/p/gstatspp/" target="_blank"><img src="<?=$FullUrl?>GStatspp.png" alt="GStats++" /></a>
				</div>

				<div id="Right">
					<a href="http://adurgavich.com/" target="_blank"><img src="<?=$FullUrl?>ADurge.png" alt="Anthony Durgavich" /></a>
				</div>

			</div>

		</div>

<?php

if ($_Template->NeedjQuery == true)
{

?>

		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<?php

	if (is_array($_Template->jQueryPlugins))
	{
		$c_jQueryPlugins = count($_Template->jQueryPlugins);
		for ($i = 0; $i < $c_jQueryPlugins; $i++)
		{
			echo '		<script type="text/javascript" src="' . $FullUrl . 'jQuery/jquery.' . $_Template->jQueryPlugins[$i] . '.js"></script>' . "\n";
		}
	}

	if ($_Template->jQueryCode != "")
	{
		echo '<script type="text/javascript">';
		echo $_Template->jQueryCode;
		echo '</script>';
	}

}

?>

	</body>

</html>